package com.gjt;

import com.gjt.EventPublish.RootPublisher;
import com.gjt.event.impl.InsertEventImpl;
import com.gjt.event.impl.UpdateEventImpl;
import com.gjt.listener.RootEventListener;
import com.gjt.listener.impl.DataOptionListenerImpl;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * Hello world!
 *
 */
@SpringBootApplication
public class App 
{
    public static void main(String[] args)
    {

        String len = "去核糖体RNA测序(mRNA+lncRNA+circRNA)(++";
        System.out.println(len.length());
//        RootPublisher publisher = new RootPublisher<InsertEventImpl>();
//
//        // 把监听器加入到发布者中
//        publisher.addListener(new DataOptionListenerImpl());
//
//        // 触发事件
//        publisher.fireEvent(new InsertEventImpl("插入数据"));


    }
}
